<h1>Listing news_offered_materials</h1>

<table>
  <tr>
    <th>Customer</th>
    <th>Material</th>
    <th>Offer type</th>
    <th>Offer date</th>
    <th>State</th>
  </tr>

<% @news_offered_materials.each do |news_offered_material| %>
  <tr>
    <td><%=h news_offered_material.customer %></td>
    <td><%=h news_offered_material.material %></td>
    <td><%=h news_offered_material.offer_type %></td>
    <td><%=h news_offered_material.offer_date %></td>
    <td><%=h news_offered_material.state %></td>
    <td><%= link_to 'Show', news_offered_material %></td>
    <td><%= link_to 'Edit', edit_news_offered_material_path(news_offered_material) %></td>
    <td><%= link_to 'Destroy', news_offered_material, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New news_offered_material', new_news_offered_material_path %>